﻿using Basic.FlowGatewayModule.Interface;
using Basic.FlowRemoteModel.NodeAuditEmp;
using Basic.FlowRemoteModel.NodeAuditEmp.Model;

namespace Basic.FlowGatewayModule.lmpl
{
    internal class FlowNodeAuditEmpService : IFlowNodeAuditEmpService
    {
        public bool Set ( NodeAuditEmp datum )
        {
            return new SetFlowNodeAuditEmp
            {
                Datum = datum
            }.Send();
        }
        public NodeAuditEmpDto Get ( long nodeId )
        {
            return new GetFlowNodeAuditEmp
            {
                NodeId = nodeId
            }.Send();
        }
    }
}
